package com.codding.springboot_mybatisdemo.service;

import com.codding.springboot_mybatisdemo.entity.Users;

import java.util.List;

public interface UserService {

    // 查询所有用户
    List<Users> selectAll();

    // 根据条件查询用户
    List<Users> selectByCondition(Integer userId, String userName, String userTel, String userSex, Integer minScore, Integer maxScore);

    // 删除用户
    boolean deleteUserById(Integer userId);

    // 添加用户
    boolean addUser(Users user);
}
